import { get, post } from '../utils/request';

module.exports = {
  index: (data) => {
    return get('article', data)
  },

  list: (data) => {
    return get('article/list', data)
  },

  detail: (id) => {
    return get('article/detail', {
      id: id
    })
  }
}
